package com.huiminpay.transaction.api.service;

import com.huiminpay.common.cache.execption.BizException;
import com.huiminpay.transaction.api.dto.PayChannelDTO;
import com.huiminpay.transaction.api.dto.PayChannelParamDTO;
import com.huiminpay.transaction.api.dto.PlatformChannelDTO;
import com.huiminpay.transaction.api.dto.QRCodeDto;

import java.util.List;

public interface IPayService {
    String createCScanQRCode(QRCodeDto qrCodeDto);

    List<PlatformChannelDTO> finaAllPlatformchannel();

    Integer openAppService(String appId, String platformChannelCodes);

    Integer queryOpenService(String appId, String platformchannel);

    List<PayChannelDTO> findPlatformChannels(String platformchannelCode);

    PayChannelParamDTO savePayChannelParam(PayChannelParamDTO payChannelParamDTO) throws BizException;

    List<PayChannelParamDTO> queryPlatformChannelPayParams(String appId, String platformchannel);

    PayChannelParamDTO queryPlatformChannelPayParam(String appId, String platformchannel, String payChannel);


    int queryAppBindPlatformChannel(String appId, String platformChannel);
}
